//
//  CommonHeaderAndFooterView.m
//  quanminzhekou
//
//  Created by zxl on 15/1/15.
//  Copyright (c) 2015年 zhongqinglongtu. All rights reserved.
//

#import "CommonHeaderAndFooterView.h"

@implementation CommonHeaderAndFooterView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        self.contentView.backgroundColor = [UIColor colorWithRed:0xf7 / 255.0 green:0xfa / 255.0 blue:0xfa / 255.0 alpha:1.0];
        
        _titleLab = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth([UIScreen mainScreen].bounds), 30)];
        _titleLab.textAlignment = NSTextAlignmentCenter;
        _titleLab.font = [UIFont systemFontOfSize:12];
        _titleLab.textColor = [UIColor colorWithRed:0x72 / 255.0 green:0x75 / 255.0 blue:0x76 / 255.0 alpha:1.0];
        [self.contentView addSubview:_titleLab];
    }
    return self;
}

@end
